# eric7.Plugins.VcsPlugins.vcsMercurial.UncommitExtension.uncommit

Module implementing the uncommit extension interface.

### Global Attributes

None

### Classes

Uncommit | Class implementing the uncommit extension interface.

### Functions

None

## Uncommit

Class implementing the uncommit extension interface.

### Derived from

HgExtension

### Class Attributes

None

### Class Methods

None

### Methods

Uncommit | Constructor
hgUncommit | Public method to undo the effect of a local commit.

### Static Methods

None

#### Uncommit (Constructor)

Uncommit(vcs, ui=None)

Constructor

vcs (Hg)
  reference to the Mercurial vcs object
ui (QWidget)
  reference to a UI widget (defaults to None)

#### Uncommit.hgUncommit

hgUncommit(names=None)

Public method to undo the effect of a local commit.

names (list of str)
  list of file or directory paths (defaults to None)

Return:
  flag indicating that the project should be reread

Return Type:
  bool

Up